﻿using System.Windows.Controls;
using System.Windows.Input;

namespace YY.Admin.Views.Control
{
    /// <summary>
    /// Interaction logic for MenuTreeView.xaml
    /// </summary>
    public partial class MenuTreeView : UserControl
    {
        public MenuTreeView()
        {
            InitializeComponent();
        }

        private void TreeViewItem_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            // 阻止双击默认展开行为
            e.Handled = true;
        }
    }
}
